import request from '@/common/request'



// 获取评论组列表
export function getCommentGroup(data) {
    return request({
        url: '/apiadmin/commentGroup/getCommentGroup',
        method: 'post',
        data: data
    })
}

// 创建评论组
export function createCommentGroup(data) {
    return request({
        url: '/apiadmin/commentGroup/createCommentGroup',
        method: 'post',
        data: data
    })
}

// 删除评论组
export function delCommentGroup(data) {
    return request({
        url: '/apiadmin/commentGroup/delCommentGroup',
        method: 'post',
        data: data
    })
}

// 修改评论组
export function editCommentGroup(data) {
    return request({
        url: '/apiadmin/commentGroup/editCommentGroup',
        method: 'post',
        data: data
    })
}

// 批量删除评论组
export function pldelCommentGroup(data) {
    return request({
        url: '/apiadmin/commentGroup/pldelCommentGroup',
        method: 'post',
        data: data
    })
}


/****************             评论                ********************* */

// 获取评论列表
export function getdata(data) {
    return request({
        url: '/apiadmin/commentGroup/getdata',
        method: 'post',
        data: data
    })
}

// 创建评论
export function createPingluninfo(data) {
    return request({
        url: '/apiadmin/commentGroup/createPingluninfo',
        method: 'post',
        data: data
    })
}

// 删除评论
export function delPingluninfo(data) {
    return request({
        url: '/apiadmin/commentGroup/delPingluninfo',
        method: 'post',
        data: data
    })
}

// 修改评论
export function editPingluninfo(data) {
    return request({
        url: '/apiadmin/commentGroup/editPingluninfo',
        method: 'post',
        data: data
    })
}

// 批量删除评论
export function pldelPingluninfo(data) {
    return request({
        url: '/apiadmin/commentGroup/pldelPingluninfo',
        method: 'post',
        data: data
    })
}